import request from '@/utils/request'

// 查询入库单列表
export function listCkjs(query) {
  return request({
    url: '/business/chukuJiesuan/list',
    method: 'get',
    params: query
  })
}

// 新增入库单
export function addCkjs(data) {
  return request({
    url: '/business/chukuJiesuan',
    method: 'post',
    data: data
  })
}
// 删除入库单
export function delCkjs(id) {
  return request({
    url: '/business/chukuJiesuan/cancel/' + id,
    method: 'delete'
  })
}
